(function () {
    app
        .controller('moreCtrl', ['$rootScope', '$scope', function ($rootScope, $scope) {
            $rootScope.selecInd = 5;
            $rootScope.showTabs = true;
            $scope.$on("$destroy", function () {
                $rootScope.showTabs = false;
            });

        }])
        // .controller('toolsArchiveCtrl', ['$scope', function ($scope) {
        //     $scope.com = false;
        //     $scope.modalP = function (index) {
        //         if ($scope.com == index) {
        //             $scope.com = false;
        //         } else {
        //             $scope.com = index;
        //         }
        //         console.log(index);
        //     };
        // }]);
})();